﻿namespace TestTool.Proxies.Onvif
{
    using System;
    using System.CodeDom.Compiler;
    using System.ComponentModel;
    using System.Diagnostics;
    using System.Xml;
    using System.Xml.Serialization;

    [Serializable, XmlType(Namespace="http://www.onvif.org/ver10/schema"), DesignerCategory("code"), GeneratedCode("svcutil", "3.0.4506.2152"), DebuggerStepThrough]
    public class MediaAttributes
    {
        private XmlAttribute[] anyAttrField;
        private XmlElement[] anyField;
        private System.DateTime fromField;
        private string recordingTokenField;
        private TestTool.Proxies.Onvif.TrackAttributes[] trackAttributesField;
        private System.DateTime untilField;

        [XmlAnyElement(Order=4)]
        public XmlElement[] Any
        {
            get
            {
                return this.anyField;
            }
            set
            {
                this.anyField = value;
            }
        }

        [XmlAnyAttribute]
        public XmlAttribute[] AnyAttr
        {
            get
            {
                return this.anyAttrField;
            }
            set
            {
                this.anyAttrField = value;
            }
        }

        [XmlElement(Order=2)]
        public System.DateTime From
        {
            get
            {
                return this.fromField;
            }
            set
            {
                this.fromField = value;
            }
        }

        [XmlElement(Order=0)]
        public string RecordingToken
        {
            get
            {
                return this.recordingTokenField;
            }
            set
            {
                this.recordingTokenField = value;
            }
        }

        [XmlElement("TrackAttributes", Order=1)]
        public TestTool.Proxies.Onvif.TrackAttributes[] TrackAttributes
        {
            get
            {
                return this.trackAttributesField;
            }
            set
            {
                this.trackAttributesField = value;
            }
        }

        [XmlElement(Order=3)]
        public System.DateTime Until
        {
            get
            {
                return this.untilField;
            }
            set
            {
                this.untilField = value;
            }
        }
    }
}

